package com.kaiwu.tc.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@RestController
public class DemoController {


    @RequestMapping("/test")
    public String query(HttpServletRequest request, HttpServletResponse response, String username) {
        System.out.println("=====hello====");
        return "hello";
    }

}
